package com.dingreading.cloud.subject.service;

import com.dingreading.cloud.subject.dto.CourseTrainTypesDto;
import com.dingreading.cloud.subject.entity.CourseTrainTypes;
import com.mybatisflex.core.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 叮叮线下培训分类表 服务层。
 *
 * @author EDY
 * @since 2025-11-18
 */
public interface CourseTrainTypesService extends IService<CourseTrainTypes> {

    List<CourseTrainTypesDto> getMainType();

    Map<Long, List<CourseTrainTypesDto>> getByMainIds(List<Long> mainIds);

    CourseTrainTypes getByUid(String typUid);
}
